package com.qeegoo.b2bautozityp.moudle.good.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.qeegoo.b2bautozityp.moudle.good.adapter.ExpandableItemAdapter;
import com.qeegoo.b2bautozityp.moudle.good.model.GoodsCategoryBean;

/**
 * 王少岩 在 2017/9/20 创建了它
 */

public class Category implements MultiItemEntity {
    private GoodsCategoryBean mGoodsCategory;

    public Category(GoodsCategoryBean goodsCategory) {
        mGoodsCategory = goodsCategory;
    }

    public GoodsCategoryBean getGoodsCategory() {
        return mGoodsCategory;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_1;
    }
}
